package com.example.demo.entity;

public class Patient {
	private Integer id;
	private String name;
	private Integer sex;
	private String age; 
	private String admission_date;
	private String tel;
	private int doctor_id;
	private int nurse_id;
	
	
	public static String[] sexs= {"未指定","男性","女性"};
	public String getSexname() {
		return sexs[sex];
	}
	
	private String doctor_name;
	public String getDoctor_name() {
		return doctor_name;
	}
	public void setDoctor_name(String doctor_name) {
		this.doctor_name = doctor_name;
	}
	
	private String nurse_name;
	public String getNurse_name() {
		return nurse_name;
	}
	public void setNurse_name(String nurse_name) {
		this.nurse_name = nurse_name;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getAdmission_date() {
		return admission_date;
	}
	public void setAdmission_date(String admission_date) {
		this.admission_date = admission_date;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public int getDoctor_id() {
		return doctor_id;
	}
	public void setDoctor_id(int doctor_id) {
		this.doctor_id = doctor_id;
	}
	public int getNurse_id() {
		return nurse_id;
	}
	public void setNurse_id(int nurse_id) {
		this.nurse_id = nurse_id;
	}
	
}
